<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of SanPham
 *
 * @author ToanNhan
 */
class SanPham {

    private $m_id = 0;
    
    private $m_TenSanPham = "";
    
    private $m_GiaBan = 0;
    
    private $m_SoLuong = 0;
    
    private $m_HinhAnh = "";
    
    private $m_ThongTinThem = "";

    private $m_MaNhomSanPham = 0;
    
    public function setId($id) {
        $this->m_id = $id;
    }
    
    public function getId() {
        return $this->m_id;
    }
    
    public function getTenSanPham() {
        return $this->m_TenSanPham;
    }
    
    public function setTenSanPham($tenSanPham) {
        $this->m_TenSanPham = $tenSanPham;
    }
    
    public function setGiaBan($giaBan) {
        $this->m_GiaBan = $giaBan;
    }
    
    public function getGiaBan() {
        return $this->m_GiaBan;
    }
    
    public function getSoLuong() {
        return $this->m_SoLuong;
    }
    
    public function setSoLuong($soLuong) {
        $this->m_SoLuong = $soLuong;
    }
    
    public function setHinhAnh($hinhAnh) {
        $this->m_HinhAnh = $hinhAnh;
    }
    
    public function getHinhAnh() {
        return $this->m_HinhAnh;
    }
    
    public function setThongTinThem($thongTinThem) {
        $this->m_ThongTinThem = $thongTinThem;
    }
    
    public function getThongTinThem() {
        return $this->m_ThongTinThem;
    }
    
    public function setMaNhomSanPham($maNhomSanPham) {
        $this->m_MaNhomSanPham = $maNhomSanPham;
    }
    
    public function getMaNhomSanPham() {
        return $this->m_MaNhomSanPham;
    }
}

?>
